package com.dks.repository;

import com.dks.dto.BaseIdRequestDto;
import com.dks.dto.publicCompoment.PublicCommentDto;
import com.dks.enumeration.PublicCommentEntityType;
import com.dks.models.publicCompoment.PublicComment;
import com.dks.result.ResultModel;
import com.dks.util.PageInfo;
import com.dks.vo.publicCompoment.PublicCommentVo;

public interface IPublicCommentRepository {

    ResultModel<PublicComment> add(PublicCommentDto publicCommentDto);

    ResultModel<PageInfo<PublicCommentVo>> getListByEntity(PublicCommentEntityType commentEntity, Long entityId, Integer pageNum, Integer pageSize);

    ResultModel<Boolean> remove(BaseIdRequestDto baseIdRequestDto);
}
